//
//  Users.h
//  QcMedical1
//
//  Created by ios001 on 2016/12/25.
//  Copyright © 2016年 jiawen Du. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Users : NSObject<NSCoding>

/** 姓名 */
@property (nonatomic, copy) NSString *true_name;

/** 性别 */
@property (nonatomic, assign) int gender;

/** 手机号 */
@property (nonatomic, copy) NSString* mobile_number;

/** 国家 */
@property (nonatomic, copy) NSString* county_id;

/** 省份ID */
@property (nonatomic, copy) NSString* province_id;

/** 城市ID */
@property (nonatomic, copy) NSString* city_id;

/** 年龄 */
@property (nonatomic, assign) int age;

/** 用户ID */
@property (nonatomic, copy) NSString* user_id;

/** 体重 */
@property (nonatomic, assign) float weight;

/** 身高 */
@property (nonatomic, assign) float height;

/** is_certify */
@property (nonatomic, assign) BOOL is_certify;

/** 地址 */
@property (nonatomic, copy) NSString* address;

/** 卡类型 */
@property (nonatomic, copy) NSString* card_type;

/** easymob_password 密码 */
@property (nonatomic, copy) NSString* easymob_password;

/** login_token */
@property (nonatomic, copy) NSString* login_token;

/** easymob_id */
@property (nonatomic, copy) NSString* easymob_id;

/** 身份证号码 */
@property (nonatomic, copy) NSString* card_number;

/** 头像 */
@property (nonatomic, copy) NSString* head_photo;

/** 收藏的医生的姓名 */
@property (nonatomic, strong) NSMutableArray<NSString*>* collectedDoctorName;

/** 快速创建对象 */
+ (instancetype)userWithDic:(NSDictionary *)dic;

/** 解档 */
+ (Users*) unarchiver;

/** 归档*/
+ (void) archiver:(Users*) users;
@end
